package com.org.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Article entity. @author MyEclipse Persistence Tools
 */

public class Article implements java.io.Serializable {

	// Fields

	private Long id;
	private ArticleCategory articleCategory;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private String author;
	private String content;
	private Long hits;
	private Boolean isPublication;
	private Boolean isTop;
	private String seoDescription;
	private String seoKeywords;
	private String seoTitle;
	private String title;
	private Set articleTags = new HashSet(0);

	// Constructors

	/** default constructor */
	public Article() {
	}

	/** minimal constructor */
	public Article(ArticleCategory articleCategory, Timestamp createDate,
			Timestamp modifyDate, Long hits, Boolean isPublication,
			Boolean isTop, String title) {
		this.articleCategory = articleCategory;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.hits = hits;
		this.isPublication = isPublication;
		this.isTop = isTop;
		this.title = title;
	}

	/** full constructor */
	public Article(ArticleCategory articleCategory, Timestamp createDate,
			Timestamp modifyDate, String author, String content, Long hits,
			Boolean isPublication, Boolean isTop, String seoDescription,
			String seoKeywords, String seoTitle, String title, Set articleTags) {
		this.articleCategory = articleCategory;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.author = author;
		this.content = content;
		this.hits = hits;
		this.isPublication = isPublication;
		this.isTop = isTop;
		this.seoDescription = seoDescription;
		this.seoKeywords = seoKeywords;
		this.seoTitle = seoTitle;
		this.title = title;
		this.articleTags = articleTags;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public ArticleCategory getArticleCategory() {
		return this.articleCategory;
	}

	public void setArticleCategory(ArticleCategory articleCategory) {
		this.articleCategory = articleCategory;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getHits() {
		return this.hits;
	}

	public void setHits(Long hits) {
		this.hits = hits;
	}

	public Boolean getIsPublication() {
		return this.isPublication;
	}

	public void setIsPublication(Boolean isPublication) {
		this.isPublication = isPublication;
	}

	public Boolean getIsTop() {
		return this.isTop;
	}

	public void setIsTop(Boolean isTop) {
		this.isTop = isTop;
	}

	public String getSeoDescription() {
		return this.seoDescription;
	}

	public void setSeoDescription(String seoDescription) {
		this.seoDescription = seoDescription;
	}

	public String getSeoKeywords() {
		return this.seoKeywords;
	}

	public void setSeoKeywords(String seoKeywords) {
		this.seoKeywords = seoKeywords;
	}

	public String getSeoTitle() {
		return this.seoTitle;
	}

	public void setSeoTitle(String seoTitle) {
		this.seoTitle = seoTitle;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Set getArticleTags() {
		return this.articleTags;
	}

	public void setArticleTags(Set articleTags) {
		this.articleTags = articleTags;
	}

}